﻿Public Class BEPesquisaMsg
    Public Const ID_TOPICO As String = "id_topico"
    Public Const TITULO_TOPICO As String = "titulo"
    Public Const ID_CATEGORIA As String = "id_categoria"
    Public Const NOME_CATEGORIA As String = "nome_categoria"
    Public Const ID_SUBCATEGORIA As String = "id_subcategoria"
    Public Const NOME_SUBCATEGORIA As String = "nome_subcategoria"
    Public Const TRECHO_MENSAGEM As String = "mensagem"

    Private _id As Integer
    Private _idSubcategoria As Integer
    Private _idcategoria As String
    Private _titulo As String
    Private _nomesubcategoria As String
    Private _nomecategoria As String
    Private _trechomensagem As String

    Public Property IdTopico() As Integer
        Get
            Return _id
        End Get
        Set(ByVal value As Integer)
            _id = value
        End Set
    End Property

    Public Property IdSubcategoria() As Integer
        Get
            Return _idSubcategoria
        End Get
        Set(ByVal value As Integer)
            _idSubcategoria = value
        End Set
    End Property

    Public Property NomeSubCategoria() As String
        Get
            Return _nomesubcategoria
        End Get
        Set(ByVal value As String)
            _nomesubcategoria = value
        End Set
    End Property

    Public Property IdCategoria() As String
        Get
            Return _idcategoria
        End Get
        Set(ByVal value As String)
            _idcategoria = value
        End Set
    End Property

    Public Property NomeCategoria() As String
        Get
            Return _nomecategoria
        End Get
        Set(ByVal value As String)
            _nomecategoria = value
        End Set
    End Property

    Public Property Titulo() As String
        Get
            Return _titulo
        End Get
        Set(ByVal value As String)
            _titulo = value
        End Set
    End Property

    Public Property TrechoMensagem() As String
        Get
            Return _trechomensagem
        End Get
        Set(ByVal value As String)
            _trechomensagem = value
        End Set
    End Property

End Class
